package com.xnyzc.lhy.mis.entity.punishment;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.Version;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

/**
*
* 违规司机详情表
*
* @author cuixiaojian
* @since 2019-10-27
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="OaDUserPenaltyDetail对象", description="违规司机详情表")
public class OaDUserPenaltyDetail implements Serializable {

private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "司机处罚详情id")
    @TableId(value="detail_id", type = IdType.INPUT)
    private Long detailId;

    @ApiModelProperty(value = "司机id")
    private Long driverId;

    @ApiModelProperty(value = "用户姓名")
    @TableField(exist = false)
    private String driverName;

    @ApiModelProperty(value = "手机号码")
    @TableField(exist = false)
    private String driverPhone;

    @ApiModelProperty(value = "司机处罚id  表 oa_d_user_penalty")
    private Long penaltyId;

    @ApiModelProperty(value = "工单编号")
    private String workOrderNumber;

    @ApiModelProperty(value = "订单编号")
    private String orderNumber;

    @ApiModelProperty(value = "违规类型")
    private String punishmentType;

    @ApiModelProperty(value = "同类型处罚数量。以司机+订单+违规类型")
    private Integer penaltyAmount;

    @ApiModelProperty(value = "是否删除(0:否,1:是)")
    private Integer deleted;

    @ApiModelProperty(value = "创建人")
    private Long createUser;

    @ApiModelProperty(value = "创建人")
    @TableField(exist = false)
    private String createUserName;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "扩展字段1")
    private String expand1;

    @ApiModelProperty(value = "扩展字段2")
    private String expand2;

    @ApiModelProperty(value = "扩展字段3")
    private String expand3;

    @ApiModelProperty(value = "是否已执行处罚")
    private Integer whetherPunishment;


    public static final String DETAIL_ID = "detail_id";

    public static final String DRIVER_ID = "driver_id";

    public static final String PENALTY_ID = "penalty_id";

    public static final String WORK_ORDER_NUMBER = "work_order_number";

    public static final String ORDER_NUMBER = "order_number";

    public static final String PUNISHMENT_TYPE = "punishment_type";

    public static final String PENALTY_AMOUNT = "penalty_amount";

    public static final String DELETED = "deleted";

    public static final String CREATE_USER = "create_user";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_TIME = "update_time";

    public static final String EXPAND1 = "expand1";

    public static final String EXPAND2 = "expand2";

    public static final String EXPAND3 = "expand3";

    public static final String WHETHERPUNISHMENT = "whether_punishment";

}
